package com.example.lab.service;

import com.example.lab.entity.LabManagers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lab.result.PageResult;

/**
 * <p>
 * 实验室管理员关联表 服务类
 * </p>
 *
 * @author 布莱恩
 * @since 2025-06-17
 */
public interface ILabManagersService extends IService<LabManagers> {

    PageResult<LabManagers> getLabManagers(Integer labId, Integer collegeId, Integer page, Integer limit);

    boolean assignLabManager(LabManagers labManager);

    boolean isLabAlreadyManaged(int labId);

    boolean removeLabManager(Integer id);

    boolean removeByLabId(Integer labId);
}
